package com.lsy.weizhi2.JsonObject;

/**
 * Created by 嗨哟 on 2017/4/10.
 */
public class LoginObject {

    /**
     * result : true
     * message : 45256f4f-e804-48d6-830d-70034d1de93e
     * error :
     * data : {"createTime":"2016-11-03 19:19:48","updateTime":"2017-04-10 14:51:12","createUserId":0,"createUsername":null,"updateUserId":2,"updateUsername":"wz2","id":2,"orgId":1,"username":"wz2","realName":"wz2","phone":"10011110002","email":null,"employeeId":"0001","job":"","qq":"","weixin":"","avatar":null,"birth":null,"sex":0,"lastAccessTime":"2017-04-10 14:51:12","lastAccessIp":"0:0:0:0:0:0:0:1","deleted":false,"userRole":"ROLE_WZER"}
     */

    private boolean result;
    private String message;
    private String error;
    private DataBean data;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * createTime : 2016-11-03 19:19:48
         * updateTime : 2017-04-10 14:51:12
         * createUserId : 0
         * createUsername : null
         * updateUserId : 2
         * updateUsername : wz2
         * id : 2
         * orgId : 1
         * username : wz2
         * realName : wz2
         * phone : 10011110002
         * email : null
         * employeeId : 0001
         * job :
         * qq :
         * weixin :
         * avatar : null
         * birth : null
         * sex : 0
         * lastAccessTime : 2017-04-10 14:51:12
         * lastAccessIp : 0:0:0:0:0:0:0:1
         * deleted : false
         * userRole : ROLE_WZER
         */

        private String createTime;
        private String updateTime;
        private int createUserId;
        private Object createUsername;
        private int updateUserId;
        private String updateUsername;
        private int id;
        private int orgId;
        private String username;
        private String realName;
        private String phone;
        private Object email;
        private String employeeId;
        private String job;
        private String qq;
        private String weixin;
        private int avatar;
        private Object birth;
        private int sex;
        private String lastAccessTime;
        private String lastAccessIp;
        private boolean deleted;
        private String userRole;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public Object getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(Object createUsername) {
            this.createUsername = createUsername;
        }

        public int getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(int updateUserId) {
            this.updateUserId = updateUserId;
        }

        public String getUpdateUsername() {
            return updateUsername;
        }

        public void setUpdateUsername(String updateUsername) {
            this.updateUsername = updateUsername;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOrgId() {
            return orgId;
        }

        public void setOrgId(int orgId) {
            this.orgId = orgId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public Object getEmail() {
            return email;
        }

        public void setEmail(Object email) {
            this.email = email;
        }

        public String getEmployeeId() {
            return employeeId;
        }

        public void setEmployeeId(String employeeId) {
            this.employeeId = employeeId;
        }

        public String getJob() {
            return job;
        }

        public void setJob(String job) {
            this.job = job;
        }

        public String getQq() {
            return qq;
        }

        public void setQq(String qq) {
            this.qq = qq;
        }

        public String getWeixin() {
            return weixin;
        }

        public void setWeixin(String weixin) {
            this.weixin = weixin;
        }

        public int getAvatar() {
            return avatar;
        }

        public void setAvatar(int avatar) {
            this.avatar = avatar;
        }

        public Object getBirth() {
            return birth;
        }

        public void setBirth(Object birth) {
            this.birth = birth;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getLastAccessTime() {
            return lastAccessTime;
        }

        public void setLastAccessTime(String lastAccessTime) {
            this.lastAccessTime = lastAccessTime;
        }

        public String getLastAccessIp() {
            return lastAccessIp;
        }

        public void setLastAccessIp(String lastAccessIp) {
            this.lastAccessIp = lastAccessIp;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public String getUserRole() {
            return userRole;
        }

        public void setUserRole(String userRole) {
            this.userRole = userRole;
        }
    }
}
